﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="FindPwd.ascx.cs" Inherits="UserControls_FindPwd" %>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<div id="user_right2">
    <table  border="0" cellpadding="0" cellspacing="1" id="tabctr" runat="server">
        <tr>
            <td  bgcolor="#FFFFFF">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td align="left" id="tdsign" runat="server">
                            取回密码
                        </td>
                        <td id="tdspace" runat="server" align="right">
                            &nbsp;
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td bgcolor="#FFFFFF">
                <div style="height: 10px;">
                </div>
                <table width="95%" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td>
                            <asp:Panel ID="One" runat="server" Width="79%">
                                <table width="100%">
                                    <tr>
                                        <td colspan="2" align="left" id="tdfrist" runat="server">
                                            <b>(第一步：用户名)</b>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td id="tdname" runat="server" align="left">
                                            请输入你的用户名：
                                        </td>
                                        <td align="left" valign="middle">
                                            <asp:TextBox ID="txtUserName" runat="server" ></asp:TextBox>&nbsp;<span
                                                runat="server" id="UserName" class="red"></span>
                                            <asp:ImageButton ID="ibOK" runat="server"  OnClick="ibOK_Click" ImageAlign="AbsBottom" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" id="tdtishi" runat="server">
                                            <div align="left">
                                                <strong>说明：</strong>当你选择提交后，密码会自动发到您注册的邮箱里面，请及时收邮件，取回密码！</div>
                                        </td>
                                    </tr>
                                </table>
                            </asp:Panel>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Panel ID="Two" runat="server" Width="79%">
                                <table width="100%">
                                    <tr>
                                        <td colspan="2" id="tdtwo" runat="server" align="left">
                                            <b>(第二步：回答问题)</b>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td  align="left" id="tdtwoName" runat="server">
                                            您的用户名:
                                        </td>
                                        <td id="tdUserName" runat="server" align="left">
                                            <asp:Label ID="lbUserName" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td id="tdtwoPsw" runat="server" align="left" >
                                            取回密码问题:
                                        </td>
                                        <td align="left" id="tdtwoQuestion" runat="server">
                                            <asp:Label ID="lbQuestion" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td id="tdanswer" runat="server" align="left" >
                                            请输入取回密码的答案:
                                        </td>
                                        <td align="left" >
                                            <asp:TextBox ID="txtAsnwer" runat="server"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="left" id="tdemail" runat="server">
                                            接收密码的邮箱:
                                        </td>
                                        <td align="left">
                                            <asp:TextBox ID="txtEmail" runat="server" ></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="rfvEmail" runat="server" ControlToValidate="txtEmail"
                                                ErrorMessage="必填"></asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="revEmail" runat="server" ControlToValidate="txtEmail"
                                                ErrorMessage="格式错误！" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td  align="right">
                                            &nbsp;<asp:ImageButton ID="ibCommit" runat="server" 
                                                OnClick="ibCommit_Click" />
                                        </td>
                                        <td>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" id="tdtishi2" runat="server">
                                            <p>
                                                <b style="font-weight: bold">说明：</b>当你选择提交后，密码会自动发到您注册的邮箱里面，请及时收邮件，取回密码！</p>
                                        </td>
                                    </tr>
                                </table>
                            </asp:Panel>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Panel ID="Three" runat="server" Width="79%">
                                <table>
                                    <tr>
                                        <td id="tdthreetitle" runat="server" align="left">
                                            <b>取回密码（第三步：密码已提交）</b>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="left" id="tdtishi3" runat="server">
                                            你的密码已经自动发到您注册的邮箱里面，请及时收邮件，取回密码！| <a href="javascript:window.history.go(-1)">返回</a> |
                                        </td>
                                    </tr>
                                </table>
                            </asp:Panel>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>
